/*
 *  log.h
 *
 *  $Id: log.h 7 2009-08-16 13:27:17Z nramsbottom $	
 *
 */

#include <stdio.h>

int log_open(const char* filename);
int log_close(void);
int log_write(const char* fmt, ...);

// gets the current date and time in the format YYYYmmDDHHMMSS
static char* log_getdttm(void);